package com.zhu.rpc.remotep;
import com.zhu.rpc.BetRecord;
import com.zhu.rpc.server.RemoteProvider;

@RemoteProvider(name = "MoneyService")
public class MoneyService {
    public int getMoney(int money){
        return money+10;
    }

    public void printMoney(int money){
        System.out.println(money);
    }
    public boolean trueOrFalse(boolean b){
        System.out.println(b);
        return !b;
    }

    public BetRecord getBetRecord(){
        return new BetRecord("asd",1,2);
    }


}
